/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jam.sfcc.business;

import jam.sfcc.common.data.AdministradorData;
import jam.sfcc.common.domain.Administrador;
import java.sql.SQLException;

/**
 *
 * @author Josué
 */
public class AdministradorBusiness {
    private AdministradorData administradorData;

    public AdministradorBusiness(String userName, String password) {
        administradorData=new AdministradorData(userName, password);
    }
    public Administrador getAdministrador2(String nombre,String clave) throws SQLException {
        return administradorData.getAdministrador2(nombre, clave);
    }
}
